package entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("medicine")
public class MedicineEntity implements Serializable {
    private final static long serialVersionUID = 1L;
    @TableId
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("type_id")
    private int typeId;
    @TableField("description")
    private String description;
    @TableField("remain")
    private int remain;
    @TableField("unit_size")
    private String size;
}
